<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>7.6.JS数组-数组排序-冒泡排序-练习1</title>
    <script>
        //复习两个变量交换
        var num1 = '第一个';
        var num2 = '第二个';
        var temp = '';
        temp = num1;
        num1 = num2;
        num2 = temp;
        console.log(num1, num2);
    </script>
</head>

<body>

</body>

</html>